package com.showdor.springboot.rocketmq;

/**
 * @author showdor
 * @email chuanqi@outlook.com
 * @date 2023/7/28
 */

import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MyProducer {

/*
    @Autowired
    private RocketMQTemplate rocketMQTemplate;

    public void send(String topic, String message) {
        rocketMQTemplate.convertAndSend(topic, message);
    }
*/

}
